package com.dks.models;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

public class StudentTask implements Serializable{

    private static final long serialVersionUID =  1L;

    public StudentTask (){
    }

    /**  */
    private Long id;
    /** 学生id */
    private Long studentId;
    /** 作业id */
    private Long taskId;
    /** 置顶状态：0未置顶,1置顶 */
    private Integer isTopStatus;
    /** 评论数 */
    private Integer commentCount;
    /** 点赞数 */
    private Integer thumbsCount;
    /** 作业内容 */
    private String taskInfo;
    /** 创建人 */
    private Long createUserId;
    /** 创建时间 */
     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime gmtCreateTime;
    /** 修改人 */
    private Long modifyUserId;
    /** 修改时间 */
     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime gmtModifyTime;
    /** 有效状态 0可用 1不可用 */
    private Integer recStatus;

	public final Long getId() {
        return this.id;
	}

	public final void setId(final Long id) {
        this.id = id;
	}

	public final Long getStudentId() {
        return this.studentId;
	}

	public final void setStudentId(final Long studentId) {
        this.studentId = studentId;
	}

	public final Long getTaskId() {
        return this.taskId;
	}

	public final void setTaskId(final Long taskId) {
        this.taskId = taskId;
	}

	public final Integer getIsTopStatus() {
        return this.isTopStatus;
	}

	public final void setIsTopStatus(final Integer isTopStatus) {
        this.isTopStatus = isTopStatus;
	}

	public final Integer getCommentCount() {
        return this.commentCount;
	}

	public final void setCommentCount(final Integer commentCount) {
        this.commentCount = commentCount;
	}

	public final Integer getThumbsCount() {
        return this.thumbsCount;
	}

	public final void setThumbsCount(final Integer thumbsCount) {
        this.thumbsCount = thumbsCount;
	}

	public final String getTaskInfo() {
        return this.taskInfo;
	}

	public final void setTaskInfo(final String taskInfo) {
        this.taskInfo = taskInfo;
	}

	public final Long getCreateUserId() {
        return this.createUserId;
	}

	public final void setCreateUserId(final Long createUserId) {
        this.createUserId = createUserId;
	}


	public final Long getModifyUserId() {
        return this.modifyUserId;
	}

	public final void setModifyUserId(final Long modifyUserId) {
        this.modifyUserId = modifyUserId;
	}

    public LocalDateTime getGmtCreateTime() {
        return gmtCreateTime;
    }

    public void setGmtCreateTime(LocalDateTime gmtCreateTime) {
        this.gmtCreateTime = gmtCreateTime;
    }

    public LocalDateTime getGmtModifyTime() {
        return gmtModifyTime;
    }

    public void setGmtModifyTime(LocalDateTime gmtModifyTime) {
        this.gmtModifyTime = gmtModifyTime;
    }

    public final Integer getRecStatus() {
        return this.recStatus;
	}

	public final void setRecStatus(final Integer recStatus) {
        this.recStatus = recStatus;
	}

}
